package com.cskaoyan.day1.generic5;

/**
 * class 类名<泛型类型1>{
 *
 * }
 * @author Common-zhou
 * @since 2023-02-27 10:55
 */
public class User<T> {
    T data;
    String name;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
